package com.yunkeji.system.service;

import com.yunkeji.common.core.domain.PageQuery;
import com.yunkeji.common.core.page.TableDataInfo;
import com.yunkeji.dao.vo.PayWithdrawPlanVo;
import com.yunkeji.system.domain.bo.PayWithdrawPlanBo;

import java.util.Collection;
import java.util.List;

/**
 * 充值方案Service接口
 *
 * @author yunkeji
 * @date 2024-09-10
 */
public interface IPayWithdrawPlanService {

    /** 查询充值方案 */
    PayWithdrawPlanVo queryById(Long id);

    /** 查询充值方案列表 */
    TableDataInfo<PayWithdrawPlanVo> queryPageList(PayWithdrawPlanBo bo, PageQuery pageQuery);

    /** 查询充值方案列表 */
    List<PayWithdrawPlanVo> queryList(PayWithdrawPlanBo bo);

    /** 新增充值方案 */
    Boolean insertByBo(PayWithdrawPlanBo bo);

    /** 修改充值方案 */
    Boolean updateByBo(PayWithdrawPlanBo bo);

    /** 校验并批量删除充值方案信息 */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
